package zuoye6;

public class ThreadC extends Thread{
	int num;
	public ThreadC(int num) {
		super();
		this.num = num;
	}

	@Override
	public void run() {
		synchronized (FizzBuzz.lock) {
			if(FizzBuzz.flag){
				FizzBuzz.fizzbuzz();
			}
		}


	}
}
